//
//  HomeView.h
//  汽车大灯色温蓝牙
//
//  Created by dfwx on 2020/9/5.
//  Copyright © 2020 zhongdaodianzi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomSliderView.h"
#import "HomeCircleView.h"


NS_ASSUME_NONNULL_BEGIN

@protocol HomeViewDelegate <NSObject>

- (void)HomeViewAutoButtonClicked;

- (void)HomeViewTopLeftButtonClicked;

- (void)HomeViewTopRightButtonClicked;

-(void)HomeViewSlderViewAction:(CGFloat)value;

-(void)HomeViewSlderViewMoveAction:(CGFloat)value;

- (void)HomeViewCircleAction:(CGFloat)value;

- (void)HomeViewCircleMoveAction:(CGFloat)value;

- (void)HomeViewModelButtonClicked:(NSInteger)type;

- (void)HomeViewCloseLightAction;

-(void)HomeViewStartChangeAction:(CGFloat)value;



@end

@interface HomeView : UIView
@property (weak, nonatomic) IBOutlet UIView *sliderContentView;
@property (weak, nonatomic) IBOutlet UIView *circleContentView;
@property (weak, nonatomic) IBOutlet UIImageView *weatherIconImageView;
@property (weak, nonatomic) IBOutlet UILabel *weatherNameLabel;
@property (weak, nonatomic) IBOutlet UIButton *topLeftButton;
@property (weak, nonatomic) IBOutlet UIButton *topRightButton;
@property (weak, nonatomic) IBOutlet UIButton *autoButton;

@property (weak, nonatomic) IBOutlet UIButton *firstButton;
@property (weak, nonatomic) IBOutlet UIButton *secondButton;
@property (weak, nonatomic) IBOutlet UIButton *thirdButton;
@property (weak, nonatomic) IBOutlet UIButton *fourButton;
@property (weak, nonatomic) IBOutlet UIButton *fifBUtton;


@property (nonatomic, strong) CustomSliderView *sliderView;
@property (nonatomic, strong) HomeCircleView *circleView;
@property (nonatomic, assign) CGFloat WYValue;
@property (nonatomic, assign) CGFloat BValue;

@property (nonatomic, assign) id <HomeViewDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
